<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>17JOYS管理后台 - 编辑会员</title>
<link href="../Public/images/skin.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-color: #EEF2FB;
	font-size: 13px;
}
.button {
	border:1px solid #B6B3AF;
	padding:1px 4px 0;
	height:21px;
}
table.admintable td.key{
	background-color:#F6F6F6;
	border-bottom:1px solid #E9E9E9;
	border-right:1px solid #E9E9E9;
	color:#666666;
	font-weight:bold;
	text-align:right;
	width:140px;
}
input, select {
border:1px solid silver;
font-size:13px;
}
input.inputbox{
	width:180px;
}
.red_font {
	color:red;
}
-->
</style>
<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="17" valign="top" background="../Public/images/mail_leftbg.gif"><img src="../Public/images/left-top-right.gif" width="17" height="29" /></td>
    <td valign="top" background="../Public/images/content-bg.gif"><table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" class="left_topbg" id="table2">
      <tr>
        <td height="31"><div class="titlebt">编辑会员</div></td>
      </tr>
    </table></td>
    <td width="16" valign="top" background="../Public/images/mail_rightbg.gif"><img src="../Public/images/nav-right-bg.gif" width="16" height="29" /></td>
  </tr>
  <tr>
    <td valign="middle" background="../Public/images/mail_leftbg.gif">&nbsp;</td>
    <td valign="top" bgcolor="#F7F8F9">
    <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td colspan="2" valign="top">&nbsp;</td>
        <td>&nbsp;</td>
        <td valign="top">&nbsp;</td>
      </tr>
      <tr>
      <td>
      <div class="tip-msg ">
                提示: 带<span class="red_font">*</span>的项目为必填信息. 		
      </div>
      <form action="__URL__/update" method="post">
      	<table class="admintable">
      	<tr>
		<td class="key">用户名：<span class="red_font">*</span></td>
		<td><input type="text" name="username" class="inputbox" value="{$udate['username']}"  /></td>
		</tr>
		<tr>
		<td class="key">密码：</td><td><input type="password" name="pwd" class="inputbox" /></td>
		</tr>
		<tr>
		<td class="key">昵称：<span class="red_font">*</span></td>
		<td><input type="text" name="name" class="inputbox" value="{$udate['name']}" /></td>
		</tr>
		<tr>
		<td class="key">邮箱：<span class="red_font">*</span></td>
		<td><input type="text" name="email" class="inputbox" value="{$udate['email']}" /></td>
		</tr>
		<tr>
		<td class="key">是否激活：<span class="red_font">*</span></td>
		<td>
		是<input type="radio" name="active" value="1" <eq name="udate['active']" value="1">checked="checked"</eq> />
		否<input type="radio" name="active" value="0" <eq name="udate['active']" value="0">checked="checked"</eq> />
		</td>
		</tr>
		<tr>
		<td class="key" valign="top">用户组：<span class="red_font">*</span></td>
		<td>
		<select name="role_id" size="10">
		<volist name="rlist" id="row">
			<option value="{$row['id']}" <eq name="udate['role_id']" value="$row['id']">selected="selected"</eq>>{$row['name']}</option>
		</volist>
		</select>
		</td>
		</tr>
		<tr>
		<td>
		<input type="hidden" name="id" value="{$udate['id']}" />
		<input type="hidden" name="opwd" value="{$udate['password']}" />
		<input class="button" type="submit" value="保存" />
		<input class="button" type="submit" value="应用" />
		<input class="button" type="button" onclick="history.go(-1);" value="取消" />
		</td>
		</tr>
		</table>
      </form>
      </td>
      </tr>
    </table>
    </td>
    <td background="../Public/images/mail_rightbg.gif">&nbsp;</td>
  </tr>
  <tr>
    <td valign="bottom" background="../Public/images/mail_leftbg.gif"><img src="../Public/images/buttom_left2.gif" width="17" height="17" /></td>
    <td background="../Public/images/buttom_bgs.gif"><img src="../Public/images/buttom_bgs.gif" width="17" height="17"></td>
    <td valign="bottom" background="../Public/images/mail_rightbg.gif"><img src="../Public/images/buttom_right2.gif" width="16" height="17" /></td>
  </tr>
</table>
</body>
</html>